import request from '@/config/axios'


export interface MaterialVO {

}


export const warehouseAreaApi = {
  // 仓库区域新增
  create: async (data: data) => {
    return await request.post({ url: `/erp/warehouse-area/create`, data })
  },
 // 仓库区域列表
 pageList: async (params: any) => {
  return await request.get({ url: `/erp/warehouse-area/page`, params })
},
  // 仓库区域删除
  delete: async (data: data) => {
    return await request.delete({ url: `/erp/warehouse-area/delete?id=`+data })
  },
 // 仓库区域详情
 details: async (data: any) => {
  return await request.get({ url: `/erp/warehouse-area/get?id=`+data })
},
   // 仓库编辑
   update: async (data: data) => {
    return await request.put({ url: `/erp/warehouse-area/update`, data })
  },
}
